const path = require('path');
const resolve = (pathname) => path.resolve(__dirname, pathname);
const CracoLessPlugin = require("craco-less");
module.exports = {
    webpack: {
        alias: {
            "@": resolve("src"),
        }
    },
    plugin: [
        {
            plugin: CracoLessPlugin,
            options: {
              lessLoaderOptions: {
                lessOptions: {
                  modifyVars: { '@primary-color': '#1DA57A' },
                  javascriptEnabled: true,
                },
              },
            }
        }
    ],
    eslint: false,
};